package BLL;

import java.util.Scanner;

import exer.gaga;

public class chakanshumu {
	public static void shumu(){
		Scanner scanner=new Scanner(System.in);
		Double[] shujia=gaga.initUserPriceArray();
		String[] shumu=gaga.initUserBookArray();
		System.out.println("书店管理销售系统》书籍管理》书籍列表");
		
		for (int i = 0; i < shumu.length; i++) {
			if (shumu[i]==null) {
				break;
			}
			System.out.println("书名："+shumu[i]+"\t\t"+"价格："+shujia[i]);
		}
		System.out.println("按'b'返回主菜单");
		String num=scanner.next();
		while (true) {
			if (num.equals("b")) {
				shujiguanli.shujiguan();
				break;
			}else {
				System.out.println("您输入的有误");
				break;
			}
		}
	}

}
